package com.huahai.security.core.properties;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * 短信验证码属性实体类
 */
public class SmsCodeProperties {

    /**
     * 短信验证码 长度默认为6
     */
    private int length = 6;
    /**
     * 短信验证码 过期时间默认为 5 * 60 * 1000   单位毫秒
     */
    private long expireIn = 5 *60 * 1000;

    /**
     * 需要校验短信验证码的url
     */
    private String url;

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public long getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(long expireIn) {
        this.expireIn = expireIn;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
